package com.bootdo.appsystem.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.appsystem.dao.ShouruDao;
import com.bootdo.appsystem.domain.ShouruDO;
import com.bootdo.appsystem.service.ShouruService;



@Service
public class ShouruServiceImpl implements ShouruService {
	@Autowired
	private ShouruDao shouruDao;
	
	@Override
	public ShouruDO get(Integer id){
		return shouruDao.get(id);
	}
	
	@Override
	public List<ShouruDO> list(Map<String, Object> map){
		return shouruDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return shouruDao.count(map);
	}
	
	@Override
	public int save(ShouruDO shouru){
		return shouruDao.save(shouru);
	}
	
	@Override
	public int update(ShouruDO shouru){
		return shouruDao.update(shouru);
	}
	
	@Override
	public int remove(Integer id){
		return shouruDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return shouruDao.batchRemove(ids);
	}

	@Override
	public Double sumUserCorpus(Integer uid) {
		return null;
	}

	@Override
	public Double sumUserTuiguang(Integer uid) {
		return null;
	}

	@Override
	public Double sumUserHongbao(Integer uid) {
		return null;
	}

	@Override
	public Double sumUserSellerHongbao(Integer uid) {
		return null;
	}

}
